package com.ruoyi.mobile.mapper;

import com.ruoyi.mobile.domain.LessonPrescriptionItem;
import com.ruoyi.mobile.domain.LessonPrescriptionItemLesson;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LessonPrescriptionItemLessonMapper {


    public int insertLessonPrescriptionItemLesson(LessonPrescriptionItemLesson lessonPrescriptionItemLesson);

    public int updateLessonPrescriptionItemLesson(LessonPrescriptionItemLesson lessonPrescriptionItemLesson);

    public List<Integer> getIdListByItemId(@Param("itemId") Integer itemId);

    public List<LessonPrescriptionItemLesson> getListByItemId(@Param("itemId") Integer itemId);

    public int deleteByIds(List<Integer> list);

    public int deleteByItemIds(List<Integer> list);

    public int deleteLessonPrescriptionByPrescriptionIds(Integer[] ids);

}
